* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.view-panel {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgb(31, 31, 31);
  color: rgba(255,255,255,0.5);
  .header-panel {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 40px;
    z-index: 3;
    .left {
      display: flex;
      .mod-btn {
        width: 28px;
        height: 28px;
        position: relative;
        cursor: pointer;
        transition: all 0.1s ease;
        &::after,
        &::before {
          content: '';
          position: absolute;
          left: 5px;
          bottom: 5px;
          width: 7px;
          height: 11px;
          border: 1px solid rgba(255,255,255,0.5);
          z-index: 2;
          background-color: rgb(31, 31, 31);
          transition: all 0.1s ease;
        }
        &::before {
          width: 14px;
          height: 10px;
          z-index: 1;
          left: auto;
          right: 4px;
          top: 4px;
          bottom: auto;
        }
        &:hover {
          box-shadow: 0 0 4px 1px rgba(255,255,255,0.9);
          &::after,
          &::before {
            box-shadow: 0 0 2px 1px rgba(255,255,255,0.9);
          }
        }
      }
      .input-panel {
        width: 200px;
        height: 30px;
        margin: 0 20px;
        input {
          width: 100%;
          height: 100%;
          outline: none;
          background: transparent;
          border: none;
          border-radius: 2px;
          color: rgba(255,255,255,0.5);
          &:focus {
            box-shadow: 0 0 4px 1px rgba(255,255,255,0.9);
          }
        }
      }
      button {
        width: 60px;
        height: 20px;
        font-size: 16px;
        background: transparent;
        border: none;
        cursor: pointer;
        &:hover {
          box-shadow: 0 0 4px 1px rgba(255,255,255,0.9);
        }
      }
      .hide-btn {
        width: 30px;
        height: 30px;
        border-radius: 4px;
        cursor: pointer;
        &:hover {
          box-shadow: 0 0 4px 1px rgba(255,255,255,0.9);
        }
      }
    }
  }
  .content-base {
    position: relative;
    padding-top: 40px;
    // width: 100%;
    // height: 100%;
    iframe {
      width: 100%;
      height: 100%;
      border: none;
      box-shadow: 0 0 4px 1px rgba(255,255,255,0.9);
    }
  }
  .pc {
    width: 100%;
    height: 100%;
  }
  .mobile {
    width: 375px;
    height: 700px;
    padding-left: 8px;
  }
  .bg-mask {
    width: 100%;
    height: 100%;
    background-color: rgb(31, 31, 31);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    .show {
      width: 20px;
      height: 20px;
      cursor: pointer;
    }
    textarea {
      width: 100%;
      height: 80%;
      background-color: rgb(31, 31, 31);
      outline: none;
      border: none;
      color: #9cdcfe;
      padding: 20px;
      font-size: 14px;
    }
  }
}

.flex-c-c {
  display: flex;
  align-items: center;
  justify-content: center;
}
.base-hover {
  &:hover {
    box-shadow: 0 0 4px 1px rgba(255,255,255,0.9);
  }
}
.hide {
  opacity: 0;
}